package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * 活动码有限期类型
 * @author chenqiwen
 * @CreateDate: 2022-06-08-18-13
 * @Description:
 */
@Getter
public enum ActivityValidityTypeEnum {
    PERMANENT_VALIDITY(0,"永久有效"),
    VALID_FOR_30_DAYS(1, "三十天有效"),
    VALID_FOR_7_DAYS(2,"7天有效"),
    ON_THE_DAY_OF_THE_EFFECTIVE(3, "当天有效"),
    DIV_VALIDITY(4, "自定义至有效"),;

    private Integer code;
    private String desc;

    ActivityValidityTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
